package com.hzw.saas.service.schedule.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzw.saas.common.config.model.BaseLogicModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Arrays;
import java.util.List;

/**
    * 日程标签表
 * @author hankun
 */
@ApiModel(value="日程标签表")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "tb_user_schedule_tag")
public class UserScheduleTag extends BaseLogicModel {
    private static final long serialVersionUID = 1870715657894160517L;
    public static final List<String> DEFAULT_TAG = Arrays.asList("1001", "1002", "1003", "1004", "1005", "1006");
    /**
     * 标签名称
     */
    @TableField(value = "tag_name")
    @ApiModelProperty(value="标签名称")
    private String tagName;

    /**
     * 用户名ID
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="用户名ID")
    private String userId;

    /**
     * 排序
     */
    @TableField(value = "sort_order")
    @ApiModelProperty(value="排序")
    private Long sortOrder;
}